package com.wxsong.authplatform.authweb.service.roleauth;

import com.wxsong.authplatform.authweb.model.role.Role;
import com.wxsong.authplatform.authweb.model.roleauth.RoleAuth;
import com.wxsong.authplatform.authweb.model.userrole.UserRole;
import com.wxsong.authplatform.authweb.model.users.Users;

import java.util.List;

public interface RoleAuthService {

    List<RoleAuth> getByRoleId(Long roleId);

    RoleAuth getById(Long id);

    int add(RoleAuth roleAuth);

    int updateInfo(Long id, Long roleId, Long authId);

    int delete(Long id);

    int deleteByRoleId(Long roleId);

    int modifyAuth(Long roleId, Long authId);

    int modifyAuths(List<RoleAuth> roleAuths);
}
